package com.wzh.glsc.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzh.common.utils.PageUtils;
import com.wzh.glsc.order.entity.OrderItemEntity;
import com.wzh.glsc.order.vo.OrderConfirmVo;
import com.wzh.glsc.order.vo.OrderSubmitVo;
import com.wzh.glsc.order.vo.SubmitOrderResponseVo;

import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * 订单项信息
 *
 * @author lcm
 * @email 1291529969@gmail.com
 * @date 2022-03-18 19:34:55
 */
public interface OrderItemService extends IService<OrderItemEntity> {

    PageUtils queryPage(Map<String, Object> params);

    OrderConfirmVo queryOrderCofirm() throws ExecutionException, InterruptedException;

    SubmitOrderResponseVo submitOrder(OrderSubmitVo orderSubmitVo);
}

